<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<table width="840" border="0" align="center" cellpadding="0" cellspacing="0">	
	<tr>
		<td class="page">第${page.pageNo}页&nbsp;&nbsp;
		<c:choose>
			<c:when test="${page.pageNo >1}">
				<!-- <a>
					<span onclick="frontpage(1)">首页</span>&nbsp;
				</a> -->
				<a href="javascript:void(0);" style="text-decoration: none;">
					<span onclick="frontpage(${page.pageNo-1})">上一页</span>&nbsp;
				</a>
			</c:when>
			<c:otherwise>
				<!-- <a><span onclick="frontpage(1)">首页</span></a>&nbsp; -->
				上一页 &nbsp;
			</c:otherwise>
			</c:choose>
			<c:choose>
				<c:when test="${page.totalPageCount > page.pageNo}">	
					<a href="javascript:void(0);" style="text-decoration: none;">
						<span onclick="nextpage(${page.pageNo+1})">下一页</span> &nbsp;
					</a>
					<%-- <a>
						<span onclick="nextpage(${page.totalPageCount})">末页</span> &nbsp;
					</a> --%>
				</c:when>
				<c:otherwise>
					<%-- <a><span onclick="nextpage(${page.totalPageCount})">末页</span></a> &nbsp; --%>
					下一页&nbsp;
				</c:otherwise>
			</c:choose>
			&nbsp;共${page.totalPageCount }页
		</td>
	</tr>
</table>